﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebApplication1.DAO;

namespace WebApplication1
{
    public partial class Contact : Page
    {
        /// <summary>
        /// 处理格式与前端共享变量
        /// </summary>
        public string visw = null;
        public int count;

        protected void Page_Load(object sender, EventArgs e)
        {
            List<string> w2 = new List<string>();

            echartsdb objDao = new echartsdb();
            w2 = objDao.GetWInfo();

            visw = string.Join(",", w2.ToArray());

            count = w2.Count();
        }
    }
}